net/http.maxBytesReader.n (field)
8 uses
net/http (current package)
request.go#L1144: return &maxBytesReader{w: w, r: r, i: n, n: n}
request.go#L1161: n int64 // max bytes remaining
request.go#L1176: if int64(len(p))-1 > l.n {
request.go#L1177: p = p[:l.n+1]
request.go#L1181: if int64(n) <= l.n {
request.go#L1182: l.n -= int64(n)
request.go#L1187: n = int(l.n)
request.go#L1188: l.n = 0
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |